package com.ashin.service;

import com.ashin.bean.User;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @Author: Ashin
 * @Date: 2021/4/14
 * @Description: com.ashin.service
 * @Version: 1.0.0
 */
@Component
public class UserFallbackService implements UserService {

    @Override
    public User findById(Long id) {
        return new User(id, "默认用户1233", "默认用户", 0, new BigDecimal(1));
    }
}
